import { sleep } from 'antd-mobile/es/utils/sleep'

let count = 0

export async function mockRequest() {
  if (count >= 9) {
    return []
  }
  await sleep(2000)
  count++
  return [
    {
      "touxiang": "https://tse3-mm.cn.bing.net/th/id/OIP-C.cGc4c8dVlqnfV3uwcS1IogHaE8?rs=1&pid=ImgDetMain",
      "title": "达人1",
      "con": "健身是一种体育项目，如各种徒手健美操、韵律操、形体操以及各种自抗力动作，体操可以增强力量、柔韧性，增加耐力，提高协调，控制身体各部分的能力，从而使身体强健。",
      "imglist": [
        "https://ts1.cn.mm.bing.net/th/id/R-C.89fef0f2c70b45af647e38c5984403a7?rik=qDBWuruVRk%2fw4Q&riu=http%3a%2f%2fsc.68design.net%2fphotofiles%2f201706%2fGX50uKMEri.jpg&ehk=lOTGquw5Jft8JEBx%2fVC%2bHASGb2YBuQB5A4IvvSPNhKo%3d&risl=&pid=ImgRaw&r=0",
        "https://img.zcool.cn/community/01ce725d3e2a78a8012187f40d3944.jpg@3000w_1l_0o_100sh.jpg",
        "https://tse3-mm.cn.bing.net/th/id/OIP-C.cGc4c8dVlqnfV3uwcS1IogHaE8?rs=1&pid=ImgDetMain"
      ],
    },
    {
      "touxiang": "https://tse3-mm.cn.bing.net/th/id/OIP-C.cGc4c8dVlqnfV3uwcS1IogHaE8?rs=1&pid=ImgDetMain",
      "title": "达人1",
      "con": "健身是一种体育项目，如各种徒手健美操、韵律操、形体操以及各种自抗力动作，体操可以增强力量、柔韧性，增加耐力，提高协调，控制身体各部分的能力，从而使身体强健。",
      "imglist": [
        "https://ts1.cn.mm.bing.net/th/id/R-C.89fef0f2c70b45af647e38c5984403a7?rik=qDBWuruVRk%2fw4Q&riu=http%3a%2f%2fsc.68design.net%2fphotofiles%2f201706%2fGX50uKMEri.jpg&ehk=lOTGquw5Jft8JEBx%2fVC%2bHASGb2YBuQB5A4IvvSPNhKo%3d&risl=&pid=ImgRaw&r=0",
        "https://img.zcool.cn/community/01ce725d3e2a78a8012187f40d3944.jpg@3000w_1l_0o_100sh.jpg",
        "https://tse3-mm.cn.bing.net/th/id/OIP-C.cGc4c8dVlqnfV3uwcS1IogHaE8?rs=1&pid=ImgDetMain"
      ],
    },
    {
      "touxiang": "https://tse3-mm.cn.bing.net/th/id/OIP-C.cGc4c8dVlqnfV3uwcS1IogHaE8?rs=1&pid=ImgDetMain",
      "title": "达人1",
      "con": "健身是一种体育项目，如各种徒手健美操、韵律操、形体操以及各种自抗力动作，体操可以增强力量、柔韧性，增加耐力，提高协调，控制身体各部分的能力，从而使身体强健。",
      "imglist": [
        "https://ts1.cn.mm.bing.net/th/id/R-C.89fef0f2c70b45af647e38c5984403a7?rik=qDBWuruVRk%2fw4Q&riu=http%3a%2f%2fsc.68design.net%2fphotofiles%2f201706%2fGX50uKMEri.jpg&ehk=lOTGquw5Jft8JEBx%2fVC%2bHASGb2YBuQB5A4IvvSPNhKo%3d&risl=&pid=ImgRaw&r=0",
        "https://img.zcool.cn/community/01ce725d3e2a78a8012187f40d3944.jpg@3000w_1l_0o_100sh.jpg",
        "https://tse3-mm.cn.bing.net/th/id/OIP-C.cGc4c8dVlqnfV3uwcS1IogHaE8?rs=1&pid=ImgDetMain"
      ],
    },
    {
      "touxiang": "https://tse3-mm.cn.bing.net/th/id/OIP-C.cGc4c8dVlqnfV3uwcS1IogHaE8?rs=1&pid=ImgDetMain",
      "title": "达人1",
      "con": "健身是一种体育项目，如各种徒手健美操、韵律操、形体操以及各种自抗力动作，体操可以增强力量、柔韧性，增加耐力，提高协调，控制身体各部分的能力，从而使身体强健。",
      "imglist": [
        "https://ts1.cn.mm.bing.net/th/id/R-C.89fef0f2c70b45af647e38c5984403a7?rik=qDBWuruVRk%2fw4Q&riu=http%3a%2f%2fsc.68design.net%2fphotofiles%2f201706%2fGX50uKMEri.jpg&ehk=lOTGquw5Jft8JEBx%2fVC%2bHASGb2YBuQB5A4IvvSPNhKo%3d&risl=&pid=ImgRaw&r=0",
        "https://img.zcool.cn/community/01ce725d3e2a78a8012187f40d3944.jpg@3000w_1l_0o_100sh.jpg",
        "https://tse3-mm.cn.bing.net/th/id/OIP-C.cGc4c8dVlqnfV3uwcS1IogHaE8?rs=1&pid=ImgDetMain"
      ],
    },
  ]
}